<?php

use yii\db\Migration;

/**
 * Class m230522_061741_retype_title_column_in_library_bbk_table
 */
class m230522_061741_retype_title_column_in_library_bbk_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->alterColumn('{{%library_bbk}}', 'title', $this->string(700));
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->alterColumn('{{%library_bbk}}', 'title', $this->string(512));
    }

}
